2024-06-12T12:47:45.133+08:00  INFO 6920 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-06-12T12:47:45.206+08:00  INFO 6920 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-06-12T12:47:48.797+08:00  INFO 18876 --- [main] c.e.java_gobang.JavaGobangApplication    : Starting JavaGobangApplication using Java 17.0.9 with PID 18876 (D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang\target\classes started by 86131 in D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang)
2024-06-12T12:47:48.802+08:00  INFO 18876 --- [main] c.e.java_gobang.JavaGobangApplication    : No active profile set, falling back to 1 default profile: "default"
2024-06-12T12:47:49.955+08:00  INFO 18876 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-06-12T12:47:49.967+08:00  INFO 18876 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-06-12T12:47:49.967+08:00  INFO 18876 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.24]
2024-06-12T12:47:50.032+08:00  INFO 18876 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-06-12T12:47:50.032+08:00  INFO 18876 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1182 ms
2024-06-12T12:47:50.669+08:00  INFO 18876 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-06-12T12:47:50.679+08:00  INFO 18876 --- [main] c.e.java_gobang.JavaGobangApplication    : Started JavaGobangApplication in 2.396 seconds (process running for 3.149)
2024-06-12T12:47:53.359+08:00  INFO 18876 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-06-12T12:47:53.359+08:00  INFO 18876 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-06-12T12:47:53.360+08:00  INFO 18876 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-06-12T12:47:57.462+08:00  INFO 18876 --- [http-nio-8080-exec-2] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-06-12T12:47:57.568+08:00  INFO 18876 --- [http-nio-8080-exec-2] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@2fc1c27a
2024-06-12T12:47:57.570+08:00  INFO 18876 --- [http-nio-8080-exec-2] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-06-12T13:21:07.562+08:00  INFO 18876 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-06-12T13:21:07.568+08:00  INFO 18876 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-06-12T13:37:06.030+08:00  INFO 16740 --- [main] c.e.java_gobang.JavaGobangApplication    : Starting JavaGobangApplication using Java 17.0.9 with PID 16740 (D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang\target\classes started by 86131 in D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang)
2024-06-12T13:37:06.040+08:00  INFO 16740 --- [main] c.e.java_gobang.JavaGobangApplication    : No active profile set, falling back to 1 default profile: "default"
2024-06-12T13:37:07.102+08:00  INFO 16740 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-06-12T13:37:07.113+08:00  INFO 16740 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-06-12T13:37:07.113+08:00  INFO 16740 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.24]
2024-06-12T13:37:07.170+08:00  INFO 16740 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-06-12T13:37:07.170+08:00  INFO 16740 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1074 ms
2024-06-12T13:37:07.746+08:00  INFO 16740 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-06-12T13:37:07.756+08:00  INFO 16740 --- [main] c.e.java_gobang.JavaGobangApplication    : Started JavaGobangApplication in 2.242 seconds (process running for 2.909)
2024-06-12T14:45:33.675+08:00  INFO 19464 --- [main] c.e.java_gobang.JavaGobangApplication    : Starting JavaGobangApplication using Java 17.0.9 with PID 19464 (D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang\target\classes started by 86131 in D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang)
2024-06-12T14:45:33.687+08:00  INFO 19464 --- [main] c.e.java_gobang.JavaGobangApplication    : No active profile set, falling back to 1 default profile: "default"
2024-06-12T14:45:35.350+08:00  INFO 19464 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-06-12T14:45:35.363+08:00  INFO 19464 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-06-12T14:45:35.363+08:00  INFO 19464 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.24]
2024-06-12T14:45:35.435+08:00  INFO 19464 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-06-12T14:45:35.436+08:00  INFO 19464 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1689 ms
2024-06-12T14:45:36.139+08:00  INFO 19464 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-06-12T14:45:36.150+08:00  INFO 19464 --- [main] c.e.java_gobang.JavaGobangApplication    : Started JavaGobangApplication in 3.063 seconds (process running for 4.003)
2024-06-12T14:45:44.732+08:00  INFO 19464 --- [http-nio-8080-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-06-12T14:45:44.732+08:00  INFO 19464 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-06-12T14:45:44.733+08:00  INFO 19464 --- [http-nio-8080-exec-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-06-12T14:45:46.814+08:00  INFO 19464 --- [http-nio-8080-exec-5] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-06-12T14:45:46.966+08:00  INFO 19464 --- [http-nio-8080-exec-5] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@31999213
2024-06-12T14:45:46.968+08:00  INFO 19464 --- [http-nio-8080-exec-5] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-06-12T14:48:43.582+08:00  INFO 19464 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-06-12T14:48:43.591+08:00  INFO 19464 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-06-12T14:48:46.030+08:00  INFO 12668 --- [main] c.e.java_gobang.JavaGobangApplication    : Starting JavaGobangApplication using Java 17.0.9 with PID 12668 (D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang\target\classes started by 86131 in D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang)
2024-06-12T14:48:46.040+08:00  INFO 12668 --- [main] c.e.java_gobang.JavaGobangApplication    : No active profile set, falling back to 1 default profile: "default"
2024-06-12T14:48:47.025+08:00  INFO 12668 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-06-12T14:48:47.036+08:00  INFO 12668 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-06-12T14:48:47.036+08:00  INFO 12668 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.24]
2024-06-12T14:48:47.096+08:00  INFO 12668 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-06-12T14:48:47.096+08:00  INFO 12668 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 999 ms
2024-06-12T14:48:47.707+08:00  INFO 12668 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-06-12T14:48:47.717+08:00  INFO 12668 --- [main] c.e.java_gobang.JavaGobangApplication    : Started JavaGobangApplication in 2.17 seconds (process running for 2.768)
2024-06-12T14:48:53.861+08:00  INFO 12668 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-06-12T14:48:53.861+08:00  INFO 12668 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-06-12T14:48:53.861+08:00  INFO 12668 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 0 ms
2024-06-12T14:48:53.906+08:00  INFO 12668 --- [http-nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-06-12T14:48:54.002+08:00  INFO 12668 --- [http-nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@6c69b9fe
2024-06-12T14:48:54.003+08:00  INFO 12668 --- [http-nio-8080-exec-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-06-12T14:50:10.995+08:00  INFO 12668 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-06-12T14:50:11.007+08:00  INFO 12668 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-06-12T14:50:15.774+08:00  INFO 9784 --- [main] c.e.java_gobang.JavaGobangApplication    : Starting JavaGobangApplication using Java 17.0.9 with PID 9784 (D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang\target\classes started by 86131 in D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang)
2024-06-12T14:50:15.784+08:00  INFO 9784 --- [main] c.e.java_gobang.JavaGobangApplication    : No active profile set, falling back to 1 default profile: "default"
2024-06-12T14:50:17.020+08:00  INFO 9784 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-06-12T14:50:17.032+08:00  INFO 9784 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-06-12T14:50:17.033+08:00  INFO 9784 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.24]
2024-06-12T14:50:17.099+08:00  INFO 9784 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-06-12T14:50:17.099+08:00  INFO 9784 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1267 ms
2024-06-12T14:50:17.832+08:00  INFO 9784 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-06-12T14:50:17.842+08:00  INFO 9784 --- [main] c.e.java_gobang.JavaGobangApplication    : Started JavaGobangApplication in 2.552 seconds (process running for 3.27)
2024-06-12T14:50:17.949+08:00  INFO 9784 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-06-12T14:50:17.949+08:00  INFO 9784 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-06-12T14:50:17.950+08:00  INFO 9784 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-06-12T14:50:23.038+08:00  INFO 9784 --- [http-nio-8080-exec-3] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-06-12T14:50:23.136+08:00  INFO 9784 --- [http-nio-8080-exec-3] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@790b3c02
2024-06-12T14:50:23.138+08:00  INFO 9784 --- [http-nio-8080-exec-3] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-06-12T14:50:33.321+08:00 ERROR 9784 --- [http-nio-8080-exec-1] w.s.h.ExceptionWebSocketHandlerDecorator : Closing session due to exception for StandardWebSocketSession[id=682fd97e-86e9-00e1-b6c0-7927a0b02053, uri=ws://127.0.0.1:8080/game]

java.lang.NullPointerException: Cannot invoke "com.example.java_gobang.game.OnlineUserManager.getFromGameRoom(int)" because "this.onlineUserManager" is null
	at com.example.java_gobang.game.Room.putChess(Room.java:79) ~[classes/:na]
	at com.example.java_gobang.api.GameAPI.handleTextMessage(GameAPI.java:140) ~[classes/:na]
	at org.springframework.web.socket.handler.AbstractWebSocketHandler.handleMessage(AbstractWebSocketHandler.java:43) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.handler.WebSocketHandlerDecorator.handleMessage(WebSocketHandlerDecorator.java:75) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator.handleMessage(LoggingWebSocketHandlerDecorator.java:56) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator.handleMessage(ExceptionWebSocketHandlerDecorator.java:58) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter.handleTextMessage(StandardWebSocketHandlerAdapter.java:113) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter$3.onMessage(StandardWebSocketHandlerAdapter.java:84) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter$3.onMessage(StandardWebSocketHandlerAdapter.java:81) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:390) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:130) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:484) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:284) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at java.base/java.lang.Thread.run(Thread.java:842) ~[na:na]

2024-06-12T14:51:56.601+08:00  INFO 9784 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2024-06-12T14:51:56.608+08:00  INFO 9784 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2024-06-12T15:05:42.700+08:00  INFO 20200 --- [main] c.e.java_gobang.JavaGobangApplication    : Starting JavaGobangApplication using Java 17.0.9 with PID 20200 (D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang\target\classes started by 86131 in D:\Javacode\JavaEE进阶\后端代码\java_gobang\java_gobang)
2024-06-12T15:05:42.709+08:00  INFO 20200 --- [main] c.e.java_gobang.JavaGobangApplication    : No active profile set, falling back to 1 default profile: "default"
2024-06-12T15:05:43.759+08:00  INFO 20200 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2024-06-12T15:05:43.775+08:00  INFO 20200 --- [main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-06-12T15:05:43.775+08:00  INFO 20200 --- [main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.24]
2024-06-12T15:05:43.842+08:00  INFO 20200 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-06-12T15:05:43.842+08:00  INFO 20200 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1083 ms
2024-06-12T15:05:44.429+08:00  INFO 20200 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path ''
2024-06-12T15:05:44.438+08:00  INFO 20200 --- [main] c.e.java_gobang.JavaGobangApplication    : Started JavaGobangApplication in 2.253 seconds (process running for 2.969)
2024-06-12T15:05:48.674+08:00  INFO 20200 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-06-12T15:05:48.674+08:00  INFO 20200 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2024-06-12T15:05:48.675+08:00  INFO 20200 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2024-06-12T15:05:55.355+08:00  INFO 20200 --- [http-nio-8080-exec-3] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-06-12T15:05:55.488+08:00  INFO 20200 --- [http-nio-8080-exec-3] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@790b3c02
2024-06-12T15:05:55.490+08:00  INFO 20200 --- [http-nio-8080-exec-3] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-06-12T15:07:18.968+08:00 ERROR 20200 --- [http-nio-8080-exec-9] w.s.h.ExceptionWebSocketHandlerDecorator : Closing session due to exception for StandardWebSocketSession[id=3d6b03e4-cbaa-5085-66ba-ba2440de5f1c, uri=ws://127.0.0.1:8080/game]

java.lang.NullPointerException: Cannot invoke "com.example.java_gobang.game.OnlineUserManager.getFromGameRoom(int)" because "this.onlineUserManager" is null
	at com.example.java_gobang.game.Room.putChess(Room.java:79) ~[classes/:na]
	at com.example.java_gobang.api.GameAPI.handleTextMessage(GameAPI.java:140) ~[classes/:na]
	at org.springframework.web.socket.handler.AbstractWebSocketHandler.handleMessage(AbstractWebSocketHandler.java:43) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.handler.WebSocketHandlerDecorator.handleMessage(WebSocketHandlerDecorator.java:75) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator.handleMessage(LoggingWebSocketHandlerDecorator.java:56) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator.handleMessage(ExceptionWebSocketHandlerDecorator.java:58) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter.handleTextMessage(StandardWebSocketHandlerAdapter.java:113) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter$3.onMessage(StandardWebSocketHandlerAdapter.java:84) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter$3.onMessage(StandardWebSocketHandlerAdapter.java:81) ~[spring-websocket-6.1.8.jar:6.1.8]
	at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:390) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:130) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:484) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:284) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:85) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) ~[tomcat-embed-websocket-10.1.24.jar:10.1.24]
	at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.24.jar:10.1.24]
	at java.base/java.lang.Thread.run(Thread.java:842) ~[na:na]

